package com.qjs.shiro.dao;

import java.util.List;

import com.qjs.shiro.model.Resource;

public interface ResourceDao {
    int deleteById(Long id);

    int insertAll(Resource record);

    int insert(Resource record);

    Resource getById(Long id);

    int updateBy(Resource record);

    int updateByIdAll(Resource record);

	List<Resource> listAllResource(int uid);
}